package net.whzjkj.gateway.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 
 */
@Data
@Accessors(chain = true)
public class ObdAlarmVehicleApply extends Model<ObdAlarmVehicleApply> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	
	@ApiModelProperty("车辆ID")
	private String vehicleId;
	
	@ApiModelProperty("驾驶员ID")
	private String driverId;
	
	@ApiModelProperty("车辆所属部门")
	private String deptId;
	
	@ApiModelProperty("车辆租赁公司编号")
	private String companyNo;
	
	@ApiModelProperty("行程ID")
	private Integer routeId;
	
	@ApiModelProperty("报警开始时间")
	private Date alarmStartTime;
	
	@ApiModelProperty("报警结束时间")
	private Date alarmEndTime;
	
	@ApiModelProperty("报警开始地址")
	private String startAddress;
	
	@ApiModelProperty("报警结束地址")
	private String endAddress;
	
	@ApiModelProperty("报警开始里程")
	private BigDecimal startMileage;
	
	@ApiModelProperty("行程时长")
	private Integer duration;
	
	@ApiModelProperty("GPS方向")
	private BigDecimal gpsDirection;
	
	@ApiModelProperty("GPS速度")
	private BigDecimal gpsSpeed;
	
	private Date createTime;
	
	@ApiModelProperty("更新时间")
	private Date updateTimer;
	
	private String creater;
	
	private String updater;
	
	private Integer status;
	
}